package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsSpecificDao;
import com.appkubes.mall.core.entity.MallGoodsSpecific;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsSpecificService extends AbstractBaseService<BaseMallGoodsSpecificDao, MallGoodsSpecific> {

    MallGoodsSpecific getOneByEntity(MallGoodsSpecific entity);

    List<MallGoodsSpecific> selectListByEntity(MallGoodsSpecific entity);

    IPage<MallGoodsSpecific> selectPageByEntity(IPage<MallGoodsSpecific> page);
    IPage<MallGoodsSpecific> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsSpecific> selectPageByEntity(MallGoodsSpecific entity, IPage<MallGoodsSpecific> page);
    IPage<MallGoodsSpecific> selectPageByEntity(MallGoodsSpecific entity, PageVO pageVO);

    IPage<MallGoodsSpecific> selectPageByEntity(MallGoodsSpecific entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsSpecific entity);
}
